package com.yvtian.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_role_menu")
public class SysRoleMenu extends Model<SysRoleMenu> {
    @TableId(value="id",type= IdType.INPUT)
    private int id;
    @TableField(value="role_id")
    private int roleId;
    @TableField(value="menu_id")
    private int menuId;
}
